<?php foreach ($this->get_data('products') as $product): ?>
  <a href="<?php echo tos_url($product['url_segment']);?>">
    <?php echo tos_img($product['thumbnail'], 0, 0, array('alt'=>$product['caption']));?>
    </a>
<?php endforeach;?>